/*
 * @Author: qinuoyun
 * @Date:   2019-10-30 10:12:26
 * @Last Modified by:   wiki
 * @Last Modified time: 2020-01-02 17:37:04
 */

export default {
    data: {
        /**
         * @size       尺寸
         * @disabled   是否禁用
         * @maxlength  最大值
         * @minlength  最小值
         * @precision  保留小数位
         * @step       间隔
         * @position   按钮位置
         * @controls   是否使用按钮
         * @strictly   输入模式
         * @type {Object}
         */
        disabled: false,
        style: {},
        class: [],
        //数据绑定  
        bind: {
            value:''
        },
        //绑定指令
        directive: {},
        //标签属性
        attribute: {
            step: 2,
            precision: 2,
            placeholder: '',
            strictly: false,
            controls: true,
            "controls-position": 'default',
            size: 'medium',
            disabled: false,
            min: 0,
            max: 9999999
        },
        //事件设置
        action: [{
            type:'',
            name:''
        }],
        //选项设定
        options: {
            //选项设置 dynamic=动态 static=静态
            // type: "static",
        },

    },
    components: () => import('./index.vue'),
    attributes: [{
        title: "设置属性",
        components: () =>
            import ('./attribute.vue'),
        data: {}
    }, {
        title: "设置数据",
        components: () =>
            import ('./bind.vue'),
        data: {}
    }, {
        title: "设置事件",
        components: () =>
            import ('./action.vue'),
        data: {}
    }],
    regulation: {
        amount: 24,
        scope: false
    },
    slot: [

    ],
    name: 'el-input-number',
    title: '数字框',
    icon: 'el-icon-eleme'
}